package com.arpa.wms.domain.enums;


import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 盘点差异状态枚举
 * @program: ntocc
 * @Date: 2020-01-09 08:21
 * @Author: LEO
 * @Description:
 */
public enum CheckDifferenceStatusEnum implements IEnum<String> {

    /**
     * 盘点差异状态枚举
     */
    NEW("0", "新建"),
    PASS("1", "已审核"),
    NO_PASS("2", "驳回"),
    INVALID("3", "作废");

    /**
     * 值
     */
    private final String value;

    /**
     * 描述
     */
    private final String desc;

    CheckDifferenceStatusEnum(final String value, final String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public String toString(){
        return this.desc;
    }

    public String getDesc() {
        return this.desc;
    }


}
